//
//  AppDelegate.m
//  JsonTool
//
//  Created by gugubo on 2017/4/21.
//  Copyright © 2017年 gugubo. All rights reserved.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    // Insert code here to initialize your application
}


- (void)applicationWillTerminate:(NSNotification *)aNotification {
    // Insert code here to tear down your application
}

- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag{
    if (!flag){
        [[sender.windows firstObject] makeKeyAndOrderFront:nil];
        return YES;
    }
    return NO;
}


@end
